package br.com.wagnerpaz.javahook;

/**
 * @author Wagner Paz
 * @since  1.0
 */
public class NativeMouseWheelEvent
{
	public static final int WHEEL_BLOCK_SCROLL = 1; 
	public static final int WHEEL_UNIT_SCROLL  = 0;
	
	private int  id;
	private long when;
	private int  x;
	private int  y;
	private int  scrollType;
	private int  scrollAmount;
	private int  wheelRotation;
	
	public NativeMouseWheelEvent(int id,
					             long when,
					             int x,
					             int y,
					             int scrollType,
					             int scrollAmount,
					             int wheelRotation)
	{
		this.id   = id;
		this.when = when;
		this.x = x;
		this.y = y;
		this.scrollType    = scrollType;
		this.scrollAmount  = scrollAmount;
		this.wheelRotation = wheelRotation;
	}

	public int getId()
	{
		return id;
	}

	public long getWhen()
	{
		return when;
	}

	public int getX()
	{
		return x;
	}

	public int getY()
	{
		return y;
	}

	public int getScrollType()
	{
		return scrollType;
	}

	public int getScrollAmount()
	{
		return scrollAmount;
	}

	public int getWheelRotation()
	{
		return wheelRotation;
	}
}